#ifndef OPTIONS_GETTER_H
#define OPTIONS_GETTER_H

#include <any>
#include <fstream>
#include <iostream>
#include <map>
#include <string>

#include "nlohmann/json.hpp"

#include "BaseTypes.h"

typedef unsigned char Byte;

using json = nlohmann::json;
using NestedMap = std::map<std::string, Color>;

NestedMap color_to_map(const json& j);
json read_json(std::string path);
void write_json(std::string path, json& j);

#endif
